<template>
  <div>
    <h1>手机端</h1>
    <button @click="scanCode">扫码添加设备</button>
  </div>
</template>

<script>
export default {
  name: 'Phone',
  data() {
    return {}
  },
  methods: {
    scanCode() {
      // 跳转到./index.html
      // window.open('www.baidu.com');
      // window.open('phoneIndex.html');
      // window.location.href = 'phoneIndex.html';
      this.$router.push({
        path: '/qrcodeStream',
        query: {
        }
      })
    }
  }
}
</script>

<style scoped>

</style>
